package com.sofar.gems.framework.service.impl;

import com.sofar.gems.framework.entity.SysUrl;
import com.sofar.gems.framework.mapper.SysRoleMapper;
import com.sofar.gems.framework.mapper.SysUrlMapper;
import com.sofar.gems.framework.mapper.SysUserMapper;
import com.sofar.gems.framework.service.SysUrlService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description: 实现类
 * @company: yaorange
 * @author: 啊啊啊林
 * @version: 1.0
 * @create: 2021-09-21 19:47:13
 */
@Service
public class SysUrlServiceImpl implements SysUrlService {
    @Resource
    private SysUrlMapper sysUrlMapper;

    @Override
    public int deleteByPrimaryKey(Integer urlId) {
        return sysUrlMapper.deleteByPrimaryKey(urlId);
    }

    @Override
    public int insert(SysUrl record) {
        return sysUrlMapper.insert(record);
    }

    @Override
    public int insertSelective(SysUrl record) {
        return sysUrlMapper.insertSelective(record);
    }

    @Override
    public SysUrl selectByPrimaryKey(Integer urlId) {
        return sysUrlMapper.selectByPrimaryKey(urlId);
    }

    @Override
    public int updateByPrimaryKeySelective(SysUrl record) {
        return sysUrlMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysUrl record) {
        return sysUrlMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<SysUrl> selectAll() {
        return sysUrlMapper.selectAll();
    }
}
